#ifndef _NTIME_H_
#define _NTIME_H_

/* Includes ------------------------------------------------------------------*/
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>

/* typedef -------------------------------------------------------------------*/
/* define --------------------------------------------------------------------*/
/* macro ---------------------------------------------------------------------*/
/* variables -----------------------------------------------------------------*/
/* function prototypes -------------------------------------------------------*/
uint32_t NETick_Get(void);
uint32_t NETick_Set(uint32_t n);
uint32_t NETick_Add(int n);

uint32_t NETimer_Get(void);
uint32_t NETimer_Set(uint32_t n);
uint32_t NETimer_Add(int n);

double NETimestamp_Get(void);
uint32_t NETimestamp_GetInteger(void);
double NETimestamp_GetDecimal(void);
double NETimestamp_Set(double n);
double NETimestamp_Add(double n);

struct tm * NECalendar_Convert(int timeZone);
struct tm * NECalendar_Get(void);
/* functions -----------------------------------------------------------------*/
#endif
